<?php
$root = dirname(dirname(dirname(dirname(dirname(dirname(__FILE__))))));
if ( file_exists( $root.'/wp-load.php' ) ) {
    require_once( $root.'/wp-load.php' );
} elseif ( file_exists( $root.'/wp-config.php' ) ) {
    require_once( $root.'/wp-config.php' );
}

header("Content-type: text/css");

if (strlen($echotheme_options['custom_logo_img']) > 0):
	// get the logo dimensions
	$size = getimagesize($echotheme_options['custom_logo_img']);
?>
#branding h2 a {
	background-image : url('<?php echo $echotheme_options['custom_logo_img'] ?>');
	width : <?php echo $size[0] ?>px;
	height : <?php echo $size[1] ?>px;
}
<?php
endif;

if (isset($echotheme_options['link_colors'])) :
?>

<?php
endif;
?>
